<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<s:head theme="ajax" />
		<title>专利奖励信息</title>
		<link rel="stylesheet" type="text/css" href="../css/counter.css">
		<link rel="stylesheet" type="text/css" href="../css/css.css">

		<script type="text/javascript" src="../javascript/common.js"></script>
		<script type="text/javascript" src="../javascript/jquery.js"></script>
		<script type="text/javascript">
function test()
{
if($("#messageId").val().length<=0){
		alert("短信内容为空！");
		return false;
	}
	if($("#messageId").val().length>70){
		alert("短信不能超过70个字符！");
		return false;
	}
	if($("input[@name='sms'][@checked]").length<=0){
		alert("您还没有选择项目！");
		return false;
	}
}
  function open_expertWindows(para){
   		var strPage;
    	strPage="viewZl.action?zlid="+para;
		html=window.open(strPage,"popupnav","height=650, width=600, resizable=0,scrollbars=1");
  	}
</script>
	</head>
	<body>
		<s:set name="username" value="#session.logininfo.truename" />
		<TABLE cellSpacing="0" cellPadding="0" width="100%" align="center"
			border="0">
			<TBODY>
				<TR>
					<TD>
						<IMG src="../images/manage/arron1.gif">
						<FONT class="font_lv"><s:text name="expert.list" /> </FONT>
					</TD>
					<td>
					</td>
				</TR>
			</TBODY>
		</TABLE>
		<TABLE cellSpacing="1" cellPadding="1" width="100%" align="center"
			border="0">
			<tr>
				<s:form theme="simple" method="post" action="getSmByZhuanye1">
					<td align="left">
						<s:text name="expert.zhuanyeleibie" />
						<s:select name="zhuanye1" list="xkzlList" listKey="bm"
							listValue="shM" headerValue="zhuanye1" theme="simple">
						</s:select>
						<s:submit value="查找" theme="simple" cssClass="btn1" />
						<input class="btn1" type="button" name="query" value="高级查找"
							onClick="toSearch('search_div');">
					</td>
				</s:form>
				<td align="left">
				</td>
			</tr>
		</table>
		<form action="sysparam/saveXmSms.action" onsubmit="return test()"
			method="post">
			<TABLE cellSpacing="1" cellPadding="1" width="100%" align="center"
				border="0">
				<tr>
					<td width="40%">
						<fieldset style="width:360;   height:115">
							<legend>
								编辑短信
							</legend>
							<font color="red"><strong><ul>
										<li>
											一次最多不能超过1000条短信
										</li>
										<li>
											一条短信为最多70个字符
										</li>
									</ul> </strong> </font>

						</fieldset>
					</td>
					<td width="60%">
						<fieldset style="width:400;   height:105">
							<legend>
								 请在此文本区域输入发送内容
							</legend>
							<s:textarea cols="45" rows="6" id="messageId" name="message" theme="simple">
							</s:textarea>
							<s:submit value="发送"></s:submit>
						</fieldset>

					</td>
				</tr>
			</table>

			<TABLE cellSpacing="1" cellPadding="1" width="100%" border="0">

				<TR>
					<TD class=line>
						<table height="100%" cellSpacing=1 cellPadding=2 width="100%"
							bgColor=#CCCCCC border=0>
							<tr>
								<td align="center" background="../images/manage/title_bg.jpg"
									class="font_12_B_w">
									<input type="checkbox" name="selectAll" id="selectAll">
								</td>

								<td align="center" background="../images/manage/title_bg.jpg"
									class="font_12_B_w" width="20%">
									项目名称
								</td>
								<td align="center" background="../images/manage/title_bg.jpg"
									class="font_12_B_w" width="12%">
									发明人
								</td>
								<td align="center" background="../images/manage/title_bg.jpg"
									class="font_12_B_w" width="12%">
									联系人
								</td>
								<td align="center" background="../images/manage/title_bg.jpg"
									class="font_12_B_w" width="18%">
									专利权人
								</td>
								<td align="center" background="../images/manage/title_bg.jpg"
									class="font_12_B_w" width="10%">
									手机
								</td>
								<td align="center" background="../images/manage/title_bg.jpg"
									class="font_12_B_w">
									操作
								</td>

							</tr>

							<s:iterator value="expertList" id="exp" status="e">
								<tr bgColor=#FFFFFF>
									<td width="5%" align="center">
										<input type="checkbox" name="sms" id="sms" class="all"
											value="<s:property value="xk" />|<s:property value="lxdh" />">
										<input type="hidden"
											name="xmSmsList[${e.index}].basicinfo.zlid"
											value="<s:property value="zlid" />">
										<input type="hidden" name="xmSmsList[${e.index}].username"
											value="<s:property value="username" />">
									</td>
									<td width="5%" align="center">
										<s:property value="name" />
									</td>
									<td width="5%" align="left">
										<s:property value="fmr" />
									</td>
									<td width="10%">
										<s:property value="lxr" />
									</td>
									<td width="5%">
										<s:property value="zlqr" />
									</td>


									<td width="15%" align="center">
										<s:property value="yddh" />
									</td>
									<td width="10%" align="center">
										<a href="sysparam/listSmsXmByZlid.action?zlid=${zlid}">短信查看</a>
										<a href="#" onclick="open_expertWindows('${zlid}')">简介</a>
									</td>
								</tr>
							</s:iterator>
						</table>
					</td>
				</tr>
			</table>
		</form>
		<form name="queryModel" action="findSmList.action" method="post">
			<DIV id="search_div"
				style="BORDER-RIGHT: #cee6ff 1px outset; BORDER-TOP: #cee6ff 1px outset; LEFT: 15%;  OVERFLOW: hidden; VISIBILITY: hidden; BORDER-LEFT: #cee6ff 1px outset; WIDTH: 500px; BORDER-BOTTOM: #cee6ff 1px outset; POSITION: absolute; TOP: 25%; HEIGHT:auto; BACKGROUND-COLOR: #eeeeee">
				<table width="100%" cellpadding="0" cellspacing="0"
					bgcolor="#ffffff">
					<tr>
						<td>

							<TABLE height="100%" cellSpacing=1 cellPadding=2 width="100%"
								bgColor=#ffffff border=0>
								<TBODY>
									<TR class=bg height=23>
										<td width="4%" background="../images/manage/title_bg.jpg"
											class="font_12_B_w">
											<IMG src="../images/manage/arron1.gif">
											专家信息查询
										</TD>
									</TR>
								</TBODY>
							</TABLE>
							<TABLE height="100%" cellSpacing=1 cellPadding=2 width="100%"
								bgColor=#ffffff border=0>
								<TR>
									<th bgcolor="#EAEEEE" class="font__12_grey">
										项目名称
									</Th>
									<td bgcolor="#EAEEEE" class="font__12_grey">
										<input type="text" name="bm_basic$name" Class="id_kuang"
											value="">
									</TD>
									<th bgcolor="#EAEEEE" class="font__12_grey">
										发明人
									</Th>
									<td bgcolor="#EAEEEE" class="font__12_grey">
										<input type="text" name="bm_basic$fmr" Class="id_kuang"
											value="">
									</TD>
								</TR>
								<TR>
									<th bgcolor="#EAEEEE" class="font__12_grey">
										专利权人
									</Th>
									<td bgcolor="#EAEEEE" class="font__12_grey">
										<input type="text" name="bm_basic$zlqr" Class="id_kuang"
											value="">
									</TD>
									<th bgcolor="#EAEEEE" class="font__12_grey">
										联系人
									</Th>
									<td bgcolor="#EAEEEE" class="font__12_grey">
										<input type="text" name="bm_basic$lxr" Class="id_kuang"
											value="">
									</TD>
								</TR>
								<TR>
									<th bgcolor="#EAEEEE" class="font__12_grey">
										联系电话
									</Th>
									<td bgcolor="#EAEEEE" class="font__12_grey">
										<input type="text" name="bm_basic$lxdh" Class="id_kuang"
											value="">
									</TD>
									<th bgcolor="#EAEEEE" class="font__12_grey">

									</Th>
									<td bgcolor="#EAEEEE" class="font__12_grey">

									</TD>
								</TR>
							</TABLE>
							<table width="100%" border="0" cellpadding="0" cellspacing="0"
								bgcolor="#EAEEEE">
								<tr>
									<td>
										<CENTER>
											<input type="submit" name="tj" value="提交">
											&nbsp;&nbsp;
											<input type="button" onClick="toSearch('search_div')"
												name="qx" value="取消">
										</CENTER>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</DIV>
		</form>
	</body>
</html>
